class Bookmark {
	static mapping = {
		table 'XX_BOOKMARK'
	}
	String name
	String url
	String tag
	boolean star
	User user
	static belongsTo = User
	static constraints = {
		name(blank:false,unique:false)
		url(maxLength:4000,blank:false)
		tag(blank:false)
		user(nullable:false)
	}
}
